import React from "react";
import { Button } from "antd";
import "./index.css";
function Home(props) {
  return (
    <div className="work-home">
      <div style={{ fontSize: "30px", textAlign: "center" }}>保险知识竞赛</div>
      <div
        style={{
          display: "flex",
          justifyContent: "center",
          marginTop: "100px",
        }}
      >
        <Button
          type="primary"
          shape="round"
          onClick={() => {
            props.history.push("/ques");
          }}
        >
          开始答题
        </Button>
      </div>
    </div>
  );
}

export default Home;
